projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13bc860
)
ARM: mx6: gw_ventana: Remove superfluous memset of GD in board_init_f
author
Stefan Roese
<
[email protected]
>
Tue, 30 Sep 2014 10:41:17 +0000
(12:41 +0200)
committer
Stefano Babic
<
[email protected]
>
Wed, 1 Oct 2014 07:12:02 +0000
(09:12 +0200)
Zeroing GD in board_init_f() is not needed any more. As its now done in
crt0.S. The patch that clears the GD in crt0.S is this one:
aae2aef9
[arm: Set up global data before board_init_f()] from Simon.
Signed-off-by: Stefan Roese <
[email protected]
>
Cc: Tim Harvey <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
Acked-by: Tim Harvey <
[email protected]
>
board/gateworks/gw_ventana/gw_ventana_spl.c
patch
|
blob
|
history
diff --git
a/board/gateworks/gw_ventana/gw_ventana_spl.c
b/board/gateworks/gw_ventana/gw_ventana_spl.c
index 9fc253bb8282b386047fe32faede991ecc547c65..ca35b3cb7ec8b251b8a7dba127041092b36823d8 100644
(file)
--- a/
board/gateworks/gw_ventana/gw_ventana_spl.c
+++ b/
board/gateworks/gw_ventana/gw_ventana_spl.c
@@
-402,13
+402,6
@@
void board_init_f(ulong dummy)
struct ventana_board_info ventana_info;
int board_model;
- /*
- * Zero out global data:
- * - this shoudl be done by crt0.S
- * - failure to zero it will cause i2c_setup to fail
- */
- memset((void *)gd, 0, sizeof(struct global_data));
-
/* setup AIPS and disable watchdog */
arch_cpu_init();